package com.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestBeforeAfter {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring-idol.xml");
        Performer performer = (Performer)applicationContext.getBean("eddie");
        performer.perform();
    }
}
